<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:if test="${empty visitor ||visitor.adminGrade >1}">
	<c:redirect url="wel!welcome.z" />
</c:if>

<head>
	<title>错误</title>
</head>

<body>
	<table>
		<tr>
			<td>
				出错
			</td>
			<td>
				${exception.message }
				<br />
				${exception.cause.message }
			</td>
		</tr>
		<tr>
			<td>
				详细信息
			</td>
			<td>
				<c:set var="causes" value="${exception.cause}" />
				<c:forEach var="i" begin="1" end="5">
					<c:set var="i" value="${i+1}" />
					<c:set var="causes" value="${causes.cause}" />
						${causes.message }<br />
				</c:forEach>

			</td>
		</tr>

	</table>
</body>
